/* 树形样式 */

.tree-wrap {
    width: 250px;
    height: 100%;
    padding: 4px;
    overflow: auto;
    background-color: #f4f6f8;
    box-sizing: border-box;
    border-right: 1px solid #dedede;
    float: left;
}

.right-wrap {
    width: calc(100% - 250px);
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
    background-color: #fff;
    overflow: auto;
    float: left;
}

.tree-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #f5f5f5;
}

.tree-wrap::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 1 6px rgba(0, 0, 0, .3);
    border-radius: 5px;
    background-color: #f5f5f5;
}

.tree-wrap::-webkit-scrollbar-thumb {
    /* 滚动条中间滚动的颜色 */
    border-radius: 5px;
    -webkit-box-shadow: inset 0 1 6px rgba(0, 0, 0, .3);
    background-color: #aaa;
}

.tree-wrap::-webkit-scrollbar-corner {
    /* 滚动条中间滚动的颜色 */
    background-color: #f5f5f5;
}

.tree-style>div {
    /* 不换行 */
    width: auto;
    min-width: 150px;
    white-space: nowrap;
    height: 35px;
    line-height: 35px;
    padding: 0 0 0 15px;
    font-size: 15px;
    cursor: pointer;
}

.tree-style>div>span:first-child>i:first-child {
    margin-right: 6px;
    font-size: 19px;
}

.tree-style>ul {
    margin-left: 20px;
}

.tree-active {
    color: #fff;
    background-color: #38adff;
}